<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="../lib/mui/css/mui.css">
    <link rel="stylesheet" href="../lib/fontawesome/css/font-awesome.css">
    <link rel="stylesheet" href="../styles/category.css">

    <title>pyg</title>
</head>

<body>
    <!-- 头部样式 -->
    <div class="pyg_header">
        <div class="mui-input-row mui-search">
            <input type="search" class="mui-input-clear" placeholder="">
        </div>
    </div>

    <!-- 主体部分 -->
    <div class="pyg_mian">
        <!-- 左边 -->
        <div class="pyg_cateLeft">
            <ul class="cateLeft">
                <li class="active"></li>

            </ul>
        </div>
        <!-- 右边 -->
        <div class="pyg_cateRight">
            <div class="pyg_cateRightList">

            </div>
        </div>
    </div>

    <!-- 底部样式 -->
    <div class="pyg_foot">

        <a href="../index.html">
            <span class="fa fa-home"></span>
            <p>首页</p>
        </a>
        <a href="category.html">
            <span class="fa fa-home"></span>
            <p>分类</p>
        </a>
        <a href="#">
            <span class="fa fa-home"></span>
            <p>购物车</p>
        </a>
        <a href="#">
            <span class="fa fa-home"></span>
            <p>我的</p>
        </a>

    </div>


    <!-- 模板部分 -->
    <!-- 导购部分 -->
    <script type="text/template" id="cates">
        {{each list value index}}
        <li class="{{index===0?'active':''}}">{{value.cat_name }}
        </li>
        {{/each}}
    </script>

    <script type="text/template" id="catey">
        {{each list value index}}
        <h3>{{value.cat_name}}</h3>

        <ul class="clearfix">
            {{each value.children value1 index1}}
            <li>
                <a href="#">
                    <img src="{{value1.cat_icon}}" alt="">
                    <p>{{value1.cat_name}}</p>
                </a>
            </li>

            {{/each}}
        </ul>
        {{/each}}
    </script>



    <!-- 文件样式 插件引入 -->
    <script src="../lib/mui/js/mui.js"></script>
    <script src="../lib/arttemplate/template-web.js"></script>
    <script src="../lib/iscroll/iscroll.js"></script>
    <script src="../lib/zepto/zepto.js"></script>
    <script src="../js/category.js"></script>

</body>

</html>